﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template/TicketManagement.Master" AutoEventWireup="true" CodeBehind="MyTicket.aspx.cs" Inherits="TicketManagement.Ticket.MyTicket" %>

<%@ Register src="../Template/uFooter.ascx" tagname="uFooter" tagprefix="uc1" %>
<%@ Register src="../Template/uHeader.ascx" tagname="uHeader" tagprefix="uc4" %>
<%@ Register src="../Template/uStaffMenu.ascx" tagname="uStaffMenu" tagprefix="uc2" %>

<%@ Register src="../Template/uStaffSidebar.ascx" tagname="uStaffSidebar" tagprefix="uc3" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .myTickets 
        {
            background-color: #FF6600 !important;
            color: #FFF !important;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="wrapper">
        <div class="clear10"></div>
        <uc4:uHeader ID="uHeader1" runat="server" />
        <div class="clear10"></div>
        <uc2:uStaffMenu ID="uStaffMenu1" runat="server" />
        <div class="clear10"></div>
        <div class="body">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tbody>
                    <tr valign="top">
                        <td>     
                            <table width="100%" class="box-vang5" cellpadding="0" cellspacing="0">
                                <tbody>
                                    <tr class="light">
                                        <td class="text-top">.:. MY SUPPORT :: Yêu cầu tôi xử lý</td>
                                    </tr>
                                </tbody>
                            </table>
                            <table class="box-vang5" width="100%" cellpadding="0" cellspacing="0">
                                <tbody>
                                    <tr class="light">
                                        <td class="t-l"></td>
                                        <td class="t-c"></td>
                                        <td class="t-r"></td>
                                    </tr>
                                    <tr class="light">
                                        <td class="c-l"></td>
                                        <td class="c-c" valign="top">
                                            <asp:GridView ID="listMyRequest" runat="server" CssClass="gridView" 
                                                ShowHeaderWhenEmpty="True" Width="100%" 
                                                AutoGenerateColumns="False" AllowPaging="True" AllowSorting="True" 
                                                PageSize="4" onpageindexchanging="listMyRequest_PageIndexChanging" 
                                                onsorting="listMyRequest_Sorting">
                                                <Columns>
                                                    <asp:TemplateField HeaderText="Mã số">
                                                        <ItemTemplate>
                                                            <a href='/Ticket/TicketEdit.aspx?id=<%# Eval("TKT_ID") %>'><%# Eval("TKT_NUMBER") %></a>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="TKC_NAME" HeaderText="Lĩnh vực" 
                                                        SortExpression="TKC_NAME" />
                                                    <asp:BoundField DataField="DEP_NAME" HeaderText="Gửi đến"/>
                                                    <asp:BoundField DataField="TKT_TIMESTAMP" HeaderText="Thời gian" 
                                                        SortExpression="TKT_TIMESTAMP" />
                                                    <asp:BoundField DataField="TKS_NAME" HeaderText="Trạng thái"/>
                                                    <asp:BoundField DataField="OLN_DESC" HeaderText="Dịch vụ" 
                                                        SortExpression="OLN_DESC" />
                                                </Columns>
                                            </asp:GridView>
                                            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="font_10">
                                                <tbody>
                                                    <tr class="light">
                                                        <td colspan="2">
                                                            <div class="clear" style="height:10px"></div>
                                                            <div class="tl fr">
                                                            </div>
                                                        </td>                
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </td>
                                        <td class="c-r"></td>
                                    </tr>
                                    <tr class="light">
                                        <td class="b-l"></td>
                                        <td class="b-c"></td>
                                        <td class="b-r"></td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                        <td width="10"></td>
                        <td width="180">
                            <table width="100%" height="4" border="0" cellpadding="0" cellspacing="0">
                                <tbody>
                                    <tr>
                                        <td><img alt="" src="../Assets/images/spaces.gif" width="1" height="1"/></td>
                                    </tr>
                                </tbody>
                            </table>
                            <uc3:uStaffSidebar ID="uStaffSidebar1" runat="server" />                                 
                            <table width="100%" height="4" border="0" cellpadding="0" cellspacing="0">
                                <tbody>
                                    <tr class="light">
                                        <td><img src="../Assets/images/spaces.gif" width="1" height="1" alt=""/></td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>  
        <div class="clear20"></div>
        <div class="clear20"></div>
        <div class="clear"></div>    
    </div>
</asp:Content>
